<?php
/**
 * Created by PhpStorm.
 * User: liyu
 * Date: 2018/4/27
 * Time: 下午4:33
 */

namespace app\api\controller\v1;



use app\api\service\LogService;
use app\api\validate\LogValidate;
use think\Request;

class Log extends UserAuth
{
    public function getList()
    {
        (new LogValidate)->goCheck('getList');
        $where = Request::instance()->only(['start_time','end_time']);
        $page = input('page');
        $result = (new LogService())->getLogInfoListByMap($where,$page);
        return $this->showJsonReturnCode($result);
    }
}